#ifndef SURVEXPARSER_H
#define SURVEXPARSER_H

/*!
    \class SurvexParser

    \brief Parsers survex file

    This class will take a survex file and build a survey.
  */

class SurvexParser : public Parser {
public:
    //! Default constructor
    SurvexParser();

    virtual ~SurvexParser() {  }

    //Parses survex files
    virtual Survey* ParseFile(std::string& fileName);

    //Gets all the error for the parser
    virtual std::list<std::string> GetErrors();

protected:
    std::list<std::string> Errors; //all the parse errors
};

#endif // SURVEXPARSER_H
